package imvu.rbox.event
{
	import flash.events.Event;

	public class ActionEvent extends Event
	{
		public static const CREATE_NEW_ROOM:String	= "createNewRoom";	//	创建一个新房间
		public static const JOIN_ROOM:String		= "joinRoom";		//	加入游戏房间
		public static const IS_READY:String			= "userReadyGame";	//	用户准备完毕
		public static const TICK_USER:String		= "tickUser";		//	踢除用户
		public static const	CHANGE_RULE:String		= "changeRoomRule";	//	（房主）修改房间规则
		public static const QUIT_ROOM:String		= "userQuitRoom";	//	离开房间
		public static const CLOSE_SEAT:String		= "closeRoomSeat";	//	关闭房间坐位
		
		public static const CHANGE_BOX:String		= "changeBox";		//	修改对象角度
		public static const LEFT_MOVE:String		= "leftMove";		//	向左移动
		public static const RIGHT_MOVE:String		= "rightMove";		//	向右移动
		public static const DOWN_MOVE:String		= "downMove";		//	向下移动
		public static const FASET_DOWN:String		= "faseDone";		//	快速下移
		
		public static const BOX_DONE:String			= "boxDone";		//	方块已经停放完毕
		public static const GAME_DONE:String		= "gameDone";		//	游戏已经结束（方块已经无法下落）
		public static const UPDATA_LINE:String		= "updataLine";		//	更新追加的行
		
		public var data:Object;		//	要同时传出的数据
		
		public function ActionEvent(type:String, obj:Object = null)
		{
			data = obj;			
			super(type, false, false);
		}
	}
}